#ifndef SERVER_H
#define SERVER_H

#include "rs_global.h"
#include <boost/noncopyable.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/system/error_code.hpp>

class Server : protected boost::noncopyable
{
public:
    typedef boost::shared_ptr< Server > Ptr;

public:
    Server();
    ~Server();

public:
    int  start(int argc, char **argv);
protected:
    bool parseCommandLine(int argc, char **argv);
    bool init();
    int  run();
};

#endif // SERVER_H
